package cn.ainit.base.myTask;

import java.util.List;

import cn.ainit.sys.query.entity.QueryJson;

public interface MyTaskDao {
	/**
	 * 传入参数，查找相关的任务返回前台
	 * @param taskParam
	 * @return
	 * @throws Exception
	 * @author wangyy
	 */
	QueryJson findTask(TaskParam taskParam) throws Exception;
	/**
	 * 根据单据type 找到相应的dsId
	 * @param djType
	 * @return
	 * @throws Exception
	 */
	String getDsIdByType(String djType) throws Exception;
	
	/**
	 * 根据单据type 找到相应的funcId
	 * @param djType
	 * @return
	 * @throws Exception
	 */
	public String getFuncIdByType(String djType) throws Exception;
	/**
	 * 返回界面左侧菜单的树
	 * @return
	 * @throws Exception
	 */
	List myWorkList(String uid) throws Exception;
	/**
	 * 返回界面左侧菜单的树的节点的数量
	 * @return
	 * @throws Exception
	 */
	List myWorkNum(String uid) throws Exception;
}
